package com.hiep.connect.shared;

import java.io.Serializable;
import java.util.Date;

import com.vercer.engine.persist.annotation.Key;

public class Posting implements Serializable {
	private static final long serialVersionUID = 201204301L;

	private long id;
	//
	// @Parent
	// PostingThread parent;

	private String email;

	private String content;

	private Date date;

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Posting() {
	}

	public Posting(String content) {
		this.content = content;
	}

	public Posting(String email, String content, Date date) {
		this.email = email;
		this.content = content;
		this.date = date;
	}

	// public UUID getId() {
	// return id;
	// }
	//
	// public void setId(UUID id) {
	// this.id = id;
	// }

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
}
